package org.lemon.cla.dto.request; // 建议放在 request 包中

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.lemon.cla.enums.ClubStatusEnum;

@Data
@Schema(description = "社团创建请求对象")
public class ClubCreateRequest {

    @NotBlank(message = "社团名称不能为空")
    @Schema(description = "社团名称", example = "编程社", required = true)
    private String clubName;

    @NotBlank(message = "Logo URL不能为空")
    @Schema(description = "Logo URL", example = "http://example.com/club_logo.png", required = true)
    private String logoUrl;

    @NotBlank(message = "社团描述不能为空")
    @Schema(description = "描述", example = "专注于编程技术交流与项目开发", required = true)
    private String description;

    @NotNull(message = "创建者ID不能为空")
    @Schema(description = "创建者ID (管理员ID)", example = "101", required = true)
    private Long creatorId;

    // createTime 和 status 由后端自动设置，无需客户端传入
}